﻿using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FubiManger.UI;

namespace FubiManger.Controls
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class packetlevelcontrol : Smobiler.Core.Controls.MobileUserControl
    {
        public packetlevelcontrol() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }
        /// <summary>
        /// 等级
        /// </summary>
        public string level { get; set; }
        private void packetlevelcontrol_Load(object sender, EventArgs e)
        {
            lbllevel.Text = "VIP" + level + "级";
            lbldesc.Text = "VIP" + level + "级可用";
       }

        private void panel1_Press(object sender, EventArgs e)
        {
            ((PacketlevelForm)this.Form).Chooselevel(level);
        }
    }
}